package cn.itlaobing.model2;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CarInstance2 {
	public static void main(String[] args) {
		String s="classpath:cn/**/model2/Construct.xml";
		AbstractApplicationContext containter=new ClassPathXmlApplicationContext(s);
		School c=containter.getBean("school",School.class);
		System.out.println(c.toString());
	}
}
